package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;
import com.itheima.reggie.entity.Page;
import com.itheima.reggie.entity.User;

public interface EmployeeService {
    R<Employee> selectEmployeeByUsernameAndPassword(Employee employee);

    Page<Employee> selectByPage(long page, long pageSize, String name);

    R<String> add(Employee employee);

    Boolean update(Employee employee);

    Employee findById(Integer id);
}
